#ifndef CFGREADER_H
#define CFGREADER_H

#include <iostream>
#include <fstream>
#include <sstream>
#include <vector> 
#include <string> 
#include <algorithm>
#include <map>
#include "objects.h"

class CfgReader {

public:
	
	
	static	std::map<std::string, std::string> readConfig(char * fileName);

	static	int						 strToInt(std::string in);
	static	double					 strToDouble(std::string in);
	static  std::vector<bigTile> * mapToBigTile(std::map<std::string, std::string> &inMap);
	static	std::vector<smallTile> * mapToSmallTile(std::map<std::string, std::string> &inMap);
	static	bool compare (const smallTile& a, const smallTile& b);


};

#endif // CfgReader_H